package cc.jq1024.domain.model.valobj;

/**
 * @author li--jiaqiang
 * @date 2024−08−01
 */
public enum RateLimiterEnum {

    BLACK_LIST("_rate_limiter_black_list_key_", "限流黑名单key"),
    PER_SECONDS("_rate_limiter_per_seconds_key_", "限流访问频次key")
    ;
    private final String key;
    private final String desc;

    RateLimiterEnum(String key, String desc) {
        this.key = key;
        this.desc = desc;
    }

    public String getKey() {
        return key;
    }

    public String getDesc() {
        return desc;
    }
}